package com.kalle.workflow.mapper;

import com.kalle.workflow.elements.Deployment;

import java.util.List;
import java.util.Map;

public interface DeploymentMapper {

    Deployment selectById(String id);

    Deployment selectByProcessKey(String processKey);

    void insert(Deployment deployment);

    void deleteByProcessKey(String processKey);

    List<Deployment> list(Map<String, Object> conditionMap);

}
